//
//  UserInfoModel.m
//  Rail
//
//  Created by hychen on 2018/2/25.
//  Copyright © 2018年 Hychen. All rights reserved.
//

#import "UserInfoModel.h"

@implementation UserSpInfoModel
MJCodingImplementation
@end

@implementation UserExtInfoModel
MJCodingImplementation
@end

@implementation UserInfoModel
MJCodingImplementation

+ (NSDictionary *)mj_replacedKeyFromPropertyName {
    return @{@"nickname":@"nikename"};
}

- (BOOL)isMan {
    if ([self.sex isKindOfClass:[NSString class]] && [self.sex isEqualToString:@"1"]) {
        return YES;
    }
    return NO;
}
@end
